
<!DOCTYPE html>
<html>

<head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">

<title>${setting.siteName}- 广告表管理</title>
<meta name="keywords" content="${setting.siteName}">
<meta name="description" content="${setting.siteName}">

<!-- BEGIN HEADER -->
[#include "/admin/include/style.ftl"]
<!-- END HEADER -->
</head>

<body class="gray-bg">
	<div class="wrapper wrapper-content  animated fadeInRight">

		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<form id="listForm" action="list.jhtml" method="get">
						<div class="ibox-title">
							<h5>广告表管理</h5>
							<div class="ibox-tools">
								<a class="btn btn-outline btn-success btn-xs"
									id="btn-add-loippi" href="add.jhtml"><i class="fa fa-plus"></i>
									新增</a> <a
									class="btn btn-outline btn-danger btn-xs btn-delete-loippi-group"><i
									class="fa fa-trash"></i> 删除</a>
							</div>
						</div>
						<div class="ibox-content">
							<div class="row">
								<div class="col-sm-3 m-b-xs">
									<input type="text" placeholder="请输入编号" name="filter_id"
										value="${(paramter.id)!''}" class="input-sm form-control">
								</div>
								<div class="col-sm-3 m-b-xs">
									<input type="text" placeholder="请输入创建时间"
										name="filter_createDate" value="${(paramter.createDate)!''}"
										class="input-sm form-control">
								</div>
								<div class="col-sm-3 m-b-xs">
									<input type="text" placeholder="请输入排序" name="filter_sorts"
										value="${(paramter.sorts)!''}" class="input-sm form-control">
								</div>
								<div class="col-sm-3 m-b-xs">
									<input type="text" placeholder="请输入连接" name="filter_url"
										value="${(paramter.url)!''}" class="input-sm form-control">
								</div>
								<div class="col-sm-3 m-b-xs">
									<input type="text" placeholder="请输入标题" name="filter_title"
										value="${(paramter.title)!''}" class="input-sm form-control">
								</div>
								<div class="col-sm-3 m-b-xs">
									<input type="text" placeholder="请输入开始时间"
										name="filter_startDate" value="${(paramter.startDate)!''}"
										class="input-sm form-control">
								</div>
								<div class="col-sm-3 m-b-xs">
									<input type="text" placeholder="请输入结束时间" name="filter_endDate"
										value="${(paramter.endDate)!''}" class="input-sm form-control">
								</div>
								<div class="col-sm-3 m-b-xs">
									<input type="text" placeholder="请输入创建者" name="filter_creator"
										value="${(paramter.creator)!''}" class="input-sm form-control">
								</div>
								<div class="col-sm-3 m-b-xs">
									<input type="text" placeholder="请输入图片" name="filter_image"
										value="${(paramter.image)!''}" class="input-sm form-control">
								</div>

								<div class="col-sm-1">
									<div class="input-group">
										<button type="submit"
											class="btn btn-sm btn-primary loippi-search-button">
											搜索</button>
										</span>
									</div>
								</div>
							</div>
							<div class="dataTables_wrapper form-inline">
								<table
									class="table table-striped table-bordered table-hover dataTables-example dataTable">
									<thead>
										<tr>

											<th><input type="checkbox" class="i-checks"
												name="checkAll"></th>
											<th>编号</th>
											<th>创建时间</th>
											<th>排序</th>
											<th>连接</th>
											<th>标题</th>
											<th>开始时间</th>
											<th>结束时间</th>
											<th>创建者</th>
											<th>图片</th>
											<th>操作</th>
										</tr>
									</thead>
									<tbody>
										[#list page.content as systemAd]
										<tr>
											<td><input type="checkbox" class="i-checks" name="ids"
												value="${systemAd.id}"></td>
											<td>${(systemAd.id)!''}</td>
											<td>${(systemAd.createDate?string('yyyy-MM-dd'))!''}</td>
											<td>${(systemAd.sorts)!''}</td>
											<td>${(systemAd.url)!''}</td>
											<td>${(systemAd.title)!''}</td>
											<td>${(systemAd.startDate?string('yyyy-MM-dd'))!''}</td>
											<td>${(systemAd.endDate?string('yyyy-MM-dd'))!''}</td>
											<td>${(systemAd.creator)!''}</td>
											<td>${(systemAd.image)!''}</td>
											<td><a
												href="${base}/admin/system_ad/view/${systemAd.id}.jhtml"
												class="btn btn-xs btn-default">
													${message("admin.common.view")} </a> <a
												class="btn btn-info btn-xs btn-edit-loippi"
												data-id="${systemAd.id}" href="edit/${systemAd.id}.jhtml"><i
													class="fa fa-paste"></i> ${message("admin.common.edit")} </a> <a
												class="btn btn-danger btn-xs btn-delete-loippi"
												data-id="${systemAd.id}"><i class="fa fa-trash"></i>
													${message("admin.common.delete")} </a></td>
										</tr>
										[/#list]
									</tbody>
								</table>
								[@pagination pageNumber = page.pageNumber totalPages =
								page.totalPages] [#include "/admin/include/pagination.ftl"]
								[/@pagination]
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>

	<!-- BEGIN Script -->
	[#include "/admin/include/script.ftl"]
	<!-- END Script -->

	<script>
    
        $(document).ready(function () {
        	[@flash_message /]
        });
    </script>
</body>

</html>
